﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity;

namespace Common.Background.Entity
{
    public class WebManageRoles_Ext : WebManageRoles { }
    public partial class WebManageRoles : EntityBase
    {

        public IEnumerable<WebManageRole_WebManageMenus> WebManageRole_WebManageMenus_Extend { get; set; }
        public IQueryable<WebDepartments> WebDepartmentsList_Extend { get; set; }
        public WebDepartments WebDepartments_Extend { get; set; }
        public override object[] PrimaryKey
        {
            get { return new object[] { this.ManageRoleID }; }
        }

        partial void OnCreated()
        {

            base.IsRealDeleted = false;//假删除
            base.Initialization();//基类的某些属性初始化
            this.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(base.PropertyChangedEvent);//初始实体时，先订阅列修改的事件
        }
    }
}
